import Vue from 'vue'
import Router from 'vue-router'
import Reg from '@/components/page/Reg'
import Login from '@/components/page/Login'
import Pos from '@/components/page/Pos'

Vue.use(Router)

export default new Router({
  routes: [
	  {
	  	path:'/',
	  	name:'Login',
	  	component:Login
	  },
    {
    	path:'/reg',
    	name:'Reg',
    	component:Reg
    },
    {
    	path:'/pos',
    	name:'Pos',
    	component:Pos
    }
  ]
})
